<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'postcategory-index-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'postcategory_name'); ?>
		<?php echo $form->textField($model,'postcategory_name'); ?>
		<?php echo $form->error($model,'postcategory_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'postcategory_parent'); ?>
		<?php echo $form->textField($model,'postcategory_parent'); ?>
		<?php echo $form->error($model,'postcategory_parent'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'postcategory_description'); ?>
		<?php echo $form->textField($model,'postcategory_description'); ?>
		<?php echo $form->error($model,'postcategory_description'); ?>
	</div>



	<div class="row buttons">
	<a href="###" title="修改" onclick="$('#postcategory-index-form').submit();" class="wContentButton bluewB wid30 boxcenter">修    改</a>
		<?php //echo CHtml::submitButton('Submit',array('class'=>'wContentButton bluewB','style'=>'wdith:50%')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->